package com.dingxin.ship_together_api.entity.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Author: ctj
 * Date: 2023-01-09
 * Time: 16:12
 */
@Getter
@AllArgsConstructor
public enum RoleEnum {
    /** 系统管理员 */ ADMIN(1,"manager"),
    /** 船长 */ SHIPMASTER(2,"shipmaster"),
    /** 用户 */ USER(3,"user");

    /**
     * 角色id
     */
    private Integer id;
    /**
     * 角色代码
     */
    private String code;
}
